﻿create table dbo.GroupInRoles (
   GroupRoleId          nvarchar(10)         collate Chinese_PRC_CI_AS not null,
   RoleId               nvarchar(10)         collate Chinese_PRC_CI_AS null,
   GroupId              nvarchar(10)         collate Chinese_PRC_CI_AS null,
   constraint PK_GroupInRoles primary key (GroupRoleId)
         on "PRIMARY"
)
on "PRIMARY"
go

execute sp_addextendedproperty 'MS_Description', 
   '机构角色ID',
   'user', 'dbo', 'table', 'GroupInRoles', 'column', 'GroupRoleId'
go

execute sp_addextendedproperty 'MS_Description', 
   '角色ID',
   'user', 'dbo', 'table', 'GroupInRoles', 'column', 'RoleId'
go

execute sp_addextendedproperty 'MS_Description', 
   '机构ID',
   'user', 'dbo', 'table', 'GroupInRoles', 'column', 'GroupId'
go
